-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1933, Remove unreachable/dead branch in CFE_ES_RunPerfLogDump()
#2330
Fix #1933, Remove unreachable/dead branch in CFE_ES_RunPerfLogDump()
#2330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend updating lines/branches coverage check in CI:
cFE/.github/workflows/code-coverage.yml
Lines 107 to 108 in f6d7f8c
missed_branches=52 | |
missed_lines=18 |
Note even without this update main looks like it's 1 line and 1 branch out of date. See https://github.com/nasa/cFE/actions/runs/5570239970/jobs/10174148336 which shows 17 and 51 (vs 18 and 52).
See https://github.com/nasa/cFE/actions/runs/4899459045/jobs/8749435100#step:9:160 shows 17 and 50 with this update.
0d01cfe
to
d5e12de
Compare
d5e12de
to
870c878
Compare
Good point @skliper Updated now. |
Note: may need to lower the coverage minimums further if other PRs that improve coverage are merged before this one. |
*Combines:* cFE equuleus-rc1+dev96 osal equuleus-rc1+dev53 to_lab equuleus-rc1+dev44 **Includes:** *cFE* - nasa/cFE#2515 - nasa/cFE#2330 *osal* - nasa/osal#1448 - nasa/osal#1146 - nasa/osal#1357 - nasa/osal#1354 - nasa/osal#1331 *to_lab* - nasa/to_lab#191 - nasa/to_lab#136 Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com> Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com> Co-authored by: Sam Price <thesamprice@users.noreply.github.com>
*Combines:* cFE equuleus-rc1+dev96 osal equuleus-rc1+dev53 to_lab equuleus-rc1+dev44 **Includes:** *cFE* - nasa/cFE#2515 - nasa/cFE#2330 *osal* - nasa/osal#1448 - nasa/osal#1146 - nasa/osal#1357 - nasa/osal#1354 - nasa/osal#1331 *to_lab* - nasa/to_lab#191 - nasa/to_lab#136 Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com> Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com> Co-authored by: Sam Price <thesamprice@users.noreply.github.com>
Checklist
Describe the contribution
CurrentState
can be>= CFE_ES_PerfDumpState_CLEANUP
- making the negative branch here unreachableTesting performed
GitHub CI actions all passing successfully (incl. Build + Run, Unit/Functional Tests etc.).
This PR (slightly) increases coverage by one branch by removing an unreachable branch.
Expected behavior changes
No change to behavior.
Contributor Info
Avi Weiss @thnkslprpt